<script type="text/html" id="menuName">
</script>
<!-- 搜索条件 -->
<script type="text/html" id="query" >
    <form class="layui-form layui-form-pane" style="margin-top: 15px;margin-left: 15px;" id="queryFrom" action="" >
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">日期选择</label>
                <div class="layui-input-block">
                    <input type="text" name="time" id="timeQuery"  autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" id="queryBut" lay-submit lay-filter="query22">搜索</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</script>
<!-- 删除 修改 -->
<script type="text/html" id="bar">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<!-- 删除 修改 -->
<script type="text/html" id="menuManagerBar">
    <a class="layui-btn layui-btn-xs" lay-event="updateImg">修改图片</a>
	<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="deleteMenu">删除</a>
</script>
<!-- 今日菜单删除 -->
<script type="text/html" id="todayMenuBar">
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="todayMenuDel">删除</a>
</script>
<!-- 加入今日菜单暂存(类似于购物车) -->
<script type="text/html" id="todayBar">
    <a class="layui-btn layui-btn-xs" lay-event="addTodauMenu">加入今日菜单</a>
</script>
<script type="text/html" id="menuManagerToolbar">
    <div class="layui-btn-container">
		<button class="layui-btn layui-btn-sm layui-bg-blue" lay-event="addMenu">添加菜单</button>
	</div>
</script>
<!-- 工具栏 -->
<script type="text/html" id="toolbar">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-sm layui-bg-blue" lay-filter="fromQuery" lay-event="query">条件查询</button>
		<button class="layui-btn layui-btn-sm layui-bg-blue" lay-event="queryAll">查看所有</button>
	</div>
</script>
<!-- 菜单管理工具栏 -->
<script type="text/html" id="MenuToolbar">
    <div class="layui-btn-container">
		<button class="layui-btn layui-btn-sm layui-bg-blue" lay-event="saveMenu">添加菜品</button>
	</div>
</script>
<!-- 用户头部工具栏 -->
<script type="text/html" id="UserToolbar">
    <div class="layui-btn-container">
		<button class="layui-btn layui-btn-sm layui-bg-blue" lay-event="downloadUserExcel">下载导入信息模板</button>
		<button class="layui-btn layui-btn-sm layui-bg-blue" lay-event="uploadUserExcel">上传用户信息</button>
	</div>
</script>
<!-- 用户信息删除-->
<script type="text/html" id="userBar">
	<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="deleteUser">删除</a>
</script>
<!-- 工具栏 -->
<script type="text/html" id="addtoolbar">
    <div class="layui-btn-container"> 
		<i class="layui-icon layui-icon-cart-simple" style="font-size: 20px;" lay-event="todayMenuCar">
			<span class="layui-badge carNumber">0</span>
		</i>
		<button class="layui-btn layui-btn-sm layui-bg-blue" lay-event="cleanAll">清空今日菜单</button>
	</div>
</script>
<!-- table表格 -->
<table id="content"  lay-filter="content" class="layui-table"></table>